package com.example.selfcontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String password ;
    private Integer age;
    private String email;
    private boolean gender ;

    private String picture ;
    private Integer followers ;
    private Integer subscribes ;
    private Integer articleCount ;
    private String nickName ;

    private String openId ;

    private String sessionId ;

    private int exp ;    // 经验

    private boolean isAdmin ;    // 是否是管理员

    private boolean isBanned ;   // 是否被封禁

    private int studentToken ;  // 是否学生认证
}
